how to convert boolean to integer in python

visit shbcf.ru